package com.chen.constants;

import com.chen.common.ErrorCode;

/**
 * ClassName: ErrorCodeConstants
 * Package: com.chen.constants
 * Description:
 *
 * @Author 陈俊辉
 * @Create 2024/4/11 16:26
 * @Version 1.0
 */
public class ErrorCodeConstants {
    //100-001-001----100-002-001都是属于部门


    public static final ErrorCode DEPT_NAME_NOT_UNIQUE=new ErrorCode("100-001-001","部门名字重复了");

    //100-002-001----100-003-001都是属于员工

    public static final ErrorCode EMP_USERNAME_NOT_UNIQUE=new ErrorCode("100-002-001","员工用户名名字重复了");
    public static final ErrorCode EMP_NOT_EXIST=new ErrorCode("100-002-002","员工不存在");

    //100-003-001----100-00-001都是属于登陆校验

    public static final ErrorCode LOGIN_PASSWORD_ERROR=new ErrorCode("100-003-001","密码错误");
    public static final ErrorCode LOGIN_USERNAME_NOT_EXIST=new ErrorCode("100-003-001","用户不存在");
}
